
package com.zhiwei.codesecurity.common.webservice.checkmarx.portal.v7;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>CxWSLdapServerConfiguration complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="CxWSLdapServerConfiguration"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="Id" type="{http://www.w3.org/2001/XMLSchema}int"/&gt;
 *         &lt;element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *         &lt;element name="DirectoryType" type="{http://Checkmarx.com}CxWSLdapDirectoryType"/&gt;
 *         &lt;element name="Action" type="{http://Checkmarx.com}CxWSLdapServerConfigurationAction"/&gt;
 *         &lt;element name="HostName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *         &lt;element name="Port" type="{http://www.w3.org/2001/XMLSchema}int"/&gt;
 *         &lt;element name="UseSSL" type="{http://www.w3.org/2001/XMLSchema}boolean"/&gt;
 *         &lt;element name="VerifySslCertificate" type="{http://www.w3.org/2001/XMLSchema}boolean"/&gt;
 *         &lt;element name="Username" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *         &lt;element name="Password" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *         &lt;element name="BaseDn" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *         &lt;element name="AdditionalUserDn" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *         &lt;element name="UserObjectClass" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *         &lt;element name="UserObjectFilter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *         &lt;element name="UsernameAttribute" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *         &lt;element name="UserRdnAttribute" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *         &lt;element name="FirstNameAttribute" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *         &lt;element name="LastNameAttribute" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *         &lt;element name="EmailAttribute" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *         &lt;element name="SyncSettings" type="{http://Checkmarx.com}CxWSLdapServerSyncSettings" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CxWSLdapServerConfiguration", propOrder = {
    "id",
    "name",
    "directoryType",
    "action",
    "hostName",
    "port",
    "useSSL",
    "verifySslCertificate",
    "username",
    "password",
    "baseDn",
    "additionalUserDn",
    "userObjectClass",
    "userObjectFilter",
    "usernameAttribute",
    "userRdnAttribute",
    "firstNameAttribute",
    "lastNameAttribute",
    "emailAttribute",
    "syncSettings"
})
public class CxWSLdapServerConfiguration {

    @XmlElement(name = "Id")
    protected int id;
    @XmlElement(name = "Name")
    protected String name;
    @XmlElement(name = "DirectoryType", required = true)
    @XmlSchemaType(name = "string")
    protected CxWSLdapDirectoryType directoryType;
    @XmlElement(name = "Action", required = true)
    @XmlSchemaType(name = "string")
    protected CxWSLdapServerConfigurationAction action;
    @XmlElement(name = "HostName")
    protected String hostName;
    @XmlElement(name = "Port")
    protected int port;
    @XmlElement(name = "UseSSL")
    protected boolean useSSL;
    @XmlElement(name = "VerifySslCertificate")
    protected boolean verifySslCertificate;
    @XmlElement(name = "Username")
    protected String username;
    @XmlElement(name = "Password")
    protected String password;
    @XmlElement(name = "BaseDn")
    protected String baseDn;
    @XmlElement(name = "AdditionalUserDn")
    protected String additionalUserDn;
    @XmlElement(name = "UserObjectClass")
    protected String userObjectClass;
    @XmlElement(name = "UserObjectFilter")
    protected String userObjectFilter;
    @XmlElement(name = "UsernameAttribute")
    protected String usernameAttribute;
    @XmlElement(name = "UserRdnAttribute")
    protected String userRdnAttribute;
    @XmlElement(name = "FirstNameAttribute")
    protected String firstNameAttribute;
    @XmlElement(name = "LastNameAttribute")
    protected String lastNameAttribute;
    @XmlElement(name = "EmailAttribute")
    protected String emailAttribute;
    @XmlElement(name = "SyncSettings")
    protected CxWSLdapServerSyncSettings syncSettings;

    /**
     * 获取id属性的值。
     * 
     */
    public int getId() {
        return id;
    }

    /**
     * 设置id属性的值。
     * 
     */
    public void setId(int value) {
        this.id = value;
    }

    /**
     * 获取name属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getName() {
        return name;
    }

    /**
     * 设置name属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setName(String value) {
        this.name = value;
    }

    /**
     * 获取directoryType属性的值。
     * 
     * @return
     *     possible object is
     *     {@link CxWSLdapDirectoryType }
     *     
     */
    public CxWSLdapDirectoryType getDirectoryType() {
        return directoryType;
    }

    /**
     * 设置directoryType属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link CxWSLdapDirectoryType }
     *     
     */
    public void setDirectoryType(CxWSLdapDirectoryType value) {
        this.directoryType = value;
    }

    /**
     * 获取action属性的值。
     * 
     * @return
     *     possible object is
     *     {@link CxWSLdapServerConfigurationAction }
     *     
     */
    public CxWSLdapServerConfigurationAction getAction() {
        return action;
    }

    /**
     * 设置action属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link CxWSLdapServerConfigurationAction }
     *     
     */
    public void setAction(CxWSLdapServerConfigurationAction value) {
        this.action = value;
    }

    /**
     * 获取hostName属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getHostName() {
        return hostName;
    }

    /**
     * 设置hostName属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setHostName(String value) {
        this.hostName = value;
    }

    /**
     * 获取port属性的值。
     * 
     */
    public int getPort() {
        return port;
    }

    /**
     * 设置port属性的值。
     * 
     */
    public void setPort(int value) {
        this.port = value;
    }

    /**
     * 获取useSSL属性的值。
     * 
     */
    public boolean isUseSSL() {
        return useSSL;
    }

    /**
     * 设置useSSL属性的值。
     * 
     */
    public void setUseSSL(boolean value) {
        this.useSSL = value;
    }

    /**
     * 获取verifySslCertificate属性的值。
     * 
     */
    public boolean isVerifySslCertificate() {
        return verifySslCertificate;
    }

    /**
     * 设置verifySslCertificate属性的值。
     * 
     */
    public void setVerifySslCertificate(boolean value) {
        this.verifySslCertificate = value;
    }

    /**
     * 获取username属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置username属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setUsername(String value) {
        this.username = value;
    }

    /**
     * 获取password属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置password属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPassword(String value) {
        this.password = value;
    }

    /**
     * 获取baseDn属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getBaseDn() {
        return baseDn;
    }

    /**
     * 设置baseDn属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setBaseDn(String value) {
        this.baseDn = value;
    }

    /**
     * 获取additionalUserDn属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getAdditionalUserDn() {
        return additionalUserDn;
    }

    /**
     * 设置additionalUserDn属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setAdditionalUserDn(String value) {
        this.additionalUserDn = value;
    }

    /**
     * 获取userObjectClass属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getUserObjectClass() {
        return userObjectClass;
    }

    /**
     * 设置userObjectClass属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setUserObjectClass(String value) {
        this.userObjectClass = value;
    }

    /**
     * 获取userObjectFilter属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getUserObjectFilter() {
        return userObjectFilter;
    }

    /**
     * 设置userObjectFilter属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setUserObjectFilter(String value) {
        this.userObjectFilter = value;
    }

    /**
     * 获取usernameAttribute属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getUsernameAttribute() {
        return usernameAttribute;
    }

    /**
     * 设置usernameAttribute属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setUsernameAttribute(String value) {
        this.usernameAttribute = value;
    }

    /**
     * 获取userRdnAttribute属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getUserRdnAttribute() {
        return userRdnAttribute;
    }

    /**
     * 设置userRdnAttribute属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setUserRdnAttribute(String value) {
        this.userRdnAttribute = value;
    }

    /**
     * 获取firstNameAttribute属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getFirstNameAttribute() {
        return firstNameAttribute;
    }

    /**
     * 设置firstNameAttribute属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setFirstNameAttribute(String value) {
        this.firstNameAttribute = value;
    }

    /**
     * 获取lastNameAttribute属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getLastNameAttribute() {
        return lastNameAttribute;
    }

    /**
     * 设置lastNameAttribute属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setLastNameAttribute(String value) {
        this.lastNameAttribute = value;
    }

    /**
     * 获取emailAttribute属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getEmailAttribute() {
        return emailAttribute;
    }

    /**
     * 设置emailAttribute属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setEmailAttribute(String value) {
        this.emailAttribute = value;
    }

    /**
     * 获取syncSettings属性的值。
     * 
     * @return
     *     possible object is
     *     {@link CxWSLdapServerSyncSettings }
     *     
     */
    public CxWSLdapServerSyncSettings getSyncSettings() {
        return syncSettings;
    }

    /**
     * 设置syncSettings属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link CxWSLdapServerSyncSettings }
     *     
     */
    public void setSyncSettings(CxWSLdapServerSyncSettings value) {
        this.syncSettings = value;
    }

}
